package com.gw.vip.server.dto;

import com.gw.vip.server.sign.SignDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @author GW
 * @description
 * @since 2022-04-26
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ChargeDto extends SignDto {
    /** 店铺id **/
    @NotBlank
    private String shopId;

    /** 客户订单号 **/
    @NotBlank
    private String clientOrder;

    /** 用户id **/
    @NotBlank
    private String userId;

    /** 实付金额 **/
    private BigDecimal payAmt;

    /** 优惠金额 **/
    private BigDecimal rebateAmt;
}
